home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / datacomm / 2251 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.4 KB

  1. Path: soap.news.pipex.net!pipex!usenet
  2. From: m.hendry@dial.pipex.com (Mathew Hendry)
  3. Newsgroups: comp.sys.amiga.datacomm
  4. Subject: Re: Putmail
  5. Date: Sat, 30 Mar 96 11:06:04
  6. Organization: Private node.
  7. Distribution: world
  8. Message-ID: <19960330.40D558.9D03@ak085.du.pipex.com>
  9. References: <1089.5T791T1837@enterprise.net> <4jj0kf$igc@nntp5.u.washington.edu>
  10. NNTP-Posting-Host: ak085.du.pipex.com
  11. X-Newsreader: TIN [AMIGA 1.3 950726BETA PL0]
  12.  
  13. David Jarvis (djarvis@u.washington.edu) wrote:
  14. : In article <1089.5T791T1837@enterprise.net>,
  15. : Mark Smith <mark.s@enterprise.net> wrote:
  16. : >Can someone help me with the following.
  17. : >
  18. : >I need to set up Putmail, The idea is to use putmail with Aweb.
  19. : >
  20. : >The problem is with the environmental variables below.
  21. : >as i don't know if they are set up with the Interinstall set up of
  22. : >amitcp.
  23. : >
  24. : >what do i do to create them manually ?
  25. : >
  26. : >
  27. : >PutMail uses three environmental variables that all exist in AmiTCP
  28. : >installations.  They are USER (userid), HOME (home drawer) and
  29. : >HOSTNAME (localhostname.domain).  Please note that AmiTCP creates
  30. : I have a similar question in trying to set these things up, because even 
  31. : though I have AmiTCP running, I can't get Mosaics sendmail to work.
  32. : In "HOSTNAME", is the "localhost" the machine I log in to, or is it my 
  33. : physical Amiga (ie "MyAmiga.u.washington.edu", for example).
  34.  
  35. localhost is your physical Amiga. For example, typing "[nc]ftp localhost" will
  36. log you into your own machine via FTP (though only if you have an ftpd
  37. installed, of course). localhost is assigned the reserved IP number 127.0.0.1,
  38. which instructs the local TCP/IP stack to "loop back" on itself and connect to
  39. the local machine, without attempting to form a route through the default
  40. gateway machine. Doing so would be wasteful and slow in this case.
  41.  
  42. The environment variable HOSTNAME contains the full IP address of the local
  43. machine, including domain. It is set during startnet by the command "SetEnv
  44. HOSTNAME `hostname`". For example, on my machine currently:
  45.  
  46. 12.0.Blister:> Echo $HOSTNAME
  47. am047.du.pipex.com
  48.  
  49. NODENAME (needed by some applications, but not set by AmiTCP by default)
  50. contains your machine name (no domain). It may be set during startnet by using
  51. the command "SetEnv NODENAME `hostname -s`"
  52.  
  53. 12.0.Blister:> Echo $NODENAME
  54. am047
  55.  
  56. Note that NODENAME and HOSTNAME will be different on each connect if your IP
  57. address is assigned dynamically.
  58.  
  59. -- Mat.
  60.